#{extends 'include/base.html' /}
#{set title:'我的草稿' /}
<div class="work_nav">
    <ul>
        <li ><a href="@{Members.work(0)}">我的作品</a></li>
        <li class="work_nav_active"><a href="@{Members.draft(0)}">我的草稿</a></li>
        <li><a href="@{Members.album(0)}">我的专辑</a></li>
        <li><a href="@{Members.Post()}">发布作品</a></li>
    </ul>
</div>
<div class="simple_wrap">
    <ul class="path_nav">
        <li class="path_index"><a href="@{Application.index(0)}">首页</a></li>
        <li>><a href="@{Members.home()}">个人中心</a></li>
        <li>><a href="@{Members.work()}">我的项目</a></li>
        <li>>我的草稿</li>
    </ul>

    <ul class="work_main_nav">
        <li><a href="@{Concerns.myTrend(0)}">动态</a></li>
        <li><a href="@{Members.work(0)}">我的作品</a></li>
        <li><a href="@{Concerns.myConcern(0)}">关注</a></li>
        <li><a href="@{Collections.collectWork(0)}">收藏</a></li>
    </ul>
    <div class="clear"></div>
    <p class="nav_path_title">草稿作品 <span>您当前功${total}个草稿作品</span></p>
#{if webServiceBean.data.size==0}
    <h3 class="no_content">暂时还没有内容</h3>
#{/if}
    <ul class=work_wrap>
    #{list items:webServiceBean.data, as:"item"}
        <li><div class="work_img">
            <img src="${item.photoUrl}" alt=""/>
        </div>
            <div class="work_info">
                <h3>${item.title}</h3>
                <div class="work_info_p">
                ${item.content.raw()}</div>
                <p class="num_work_p"><a href="@{Members.Post(item.id)}" style="color: #ffffff">编辑</a><span></span><a href="@{Members.deleteArticle(item.id,1)}" class="delete_a">删除</a></p>
            </div></li>
    #{/list}
</ul>
    <div class="clear"></div>
#{page1 pageBean: pageBean, params : params/}




</div>